<html>
  
  <head>
  
    <title>Reasy</title>
    <!--link rel="stylesheet" href="css/panorama.css" type="text/css" /-->
    
  </head>
  
  <body>
    
      <input id="text" />

      <div id="text_copy">{{ text }}</div>

  </body>
  
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" ></script>
    <script type="text/javascript" src="jquery.cookie/cookie.js"></script>
    <script type="text/javascript" src="content/reasy_browser_db.js"></script>
    <script type="text/javascript" src="content/reasy_reader.js"></script>
    <script type="text/javascript" src="content/reasy.js"></script>
    <script type="text/javascript">
        function pref(key, val) {
            var key_split = key.split('.');
            $.cookie(key_split[key_split.length - 1], val);
        }
        
        $('document').ready(function() {
            var text_box = $('#text');
            text_box.change(function() {
                $('#text_copy').append(text_box.val());
            });
            var text = '{{ text }}';
            if (text) {
                text_box.val(text);
            }
        });
    </script>
    <script type="text/javascript" src="defaults/preferences/reasy_prefs.js"></script>
    
</html>
